<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%@include file="../../common/include_list_head.jsp" %>
</head>
<body>
<div id="scrollContent">

    <s:if test="actionErrors.size()>0 || actionMessages.size()>0 || fieldErrors.size()>0">
        <div id="SystemErrorMessage">
            <s:actionerror/>
            <s:actionmessage/>
            <s:fielderror/>
        </div>
    </s:if>

    <s:form theme="simple" name="ysform">
        <s:hidden name="pager.formname" value="ysform"/>
        <s:hidden name="pager.currentPageno" id="yspager_currentPageno"/>

        <div class="box_tool_mid padding_right5">
            <div class="center">
                <div class="left">
                    <div class="right">
                        <div class="padding_top8 padding_left10">
                            <table>
                                <tr>
                                    <td align="center" nowrap="nowrap" width="15%">&nbsp;标题或内容：
                                        <s:textfield name="problem.pcontent" id="pcontent" maxlength="15"/>
                                    </td>
                                    <td align="center" nowrap="nowrap" width="15%">&nbsp;资源名称：
                                        <s:textfield name="problem.zymc" id="zymc" maxlength="15"/>
                                    </td>
                                    <td align="center" nowrap="nowrap" width="15%">&nbsp;状态：
                                        <s:select name="problem.state" id="state" list="#{'':'----请选择----','1':'已回复','0':'未回复'}"/>
                                    </td>
                                    <td>
                                        <button onclick="super_doSearch()"><span class="icon_find">查询</span></button>
                                        <button onclick="doreset();"><span class="icon_recycle"> 重置 </span></button>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </s:form>

    <div id="userRoleMenuButton">
        <button onclick="doModify()"><span class="icon_edit">修改</span></button>
    </div>
    <div>
        <table class="tableStyle" style="width:100%;">
            <tr>
                <th width="3%"></th>
                <th nowrap="nowrap" width="35%" align="center">问题标题</th>
                <th nowrap="nowrap" width="25%" align="center">服务名称</th>
                <th nowrap="nowrap" width="20%" align="center">时间</th>
                <th nowrap="nowrap" width="20%" align="center">状态</th>
            </tr>
            <s:iterator value="resultData">
                <tr>
                    <td align="center"><s:checkbox id="%{wid}" name="selectNode" fieldValue="%{wid}"/></td>
                    <td nowrap="nowrap" align="center">
                        <a href="javascript:openEntity('<s:property value="wid"/>')"><font color="blue"><s:property
                                value="pproblem"/></font></a>
                    </td>
                    <td nowrap="nowrap" align="center"><s:property value="zymc"/></td>
                    <td nowrap="nowrap" align="center"><s:property value="ptime"/></td>
                    <td nowrap="nowrap" align="center"><s:if test="state==1">已回复</s:if><s:else><span style="color:red;">未回复</span></s:else></td>
                </tr>
            </s:iterator>
        </table>
    </div>
    <div style="height: 45px;">
        <div id="pagelist" style="display: none">
            <s:property value="pager.postToolBar" escape="false"/>
        </div>
        <div class="clear"></div>
    </div>
</div>
</body>
</html>
